package com.sys.server.modules.controller.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "二级回复")
public class SecondReplyVo implements Serializable {

    @ApiModelProperty(value = "发表用户")
    private String reluser;
    @ApiModelProperty(value = "评论内容")
    private String maintext;
    @ApiModelProperty(value = "评论发表时间")
    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reltime;
    private Boolean replyShow;
    private Long r2id;
    @ApiModelProperty(value = "回复的用户")
    private String repuser;

}
